//
// Created by admin on 2022/10/9.
//

#import "UIViewController+ForceUpdate.h"

@implementation UIViewController (ForceUpdate)

/**
 * 是否需要强制升级
 * @param retDic
 * @return
 */
- (BOOL)checkForceUpdateBy:(NSDictionary *)retDic {
    if ([retDic isKindOfClass:[NSDictionary class]]) {
        NSString *resultStr = [retDic valueForKey:@"forceUpdate"];
        if ([resultStr isEqualToString:@"95"]) {
            [self forceUpdateAlert];
            return YES;
        }
    }
    return NO;
}

- (void)forceUpdateAlert {

}
@end